<#assign base = request.contextPath />
<div class="header">
	<div class="wrap_wid">
		<a href="${base}/index">
		 <img class="header_i" src="${base}/search/images2/前面logo.png">
		 <img class="header_ii" src="${base}/search/images2/中医药数据智能分析平台.png">
		</a>
		<div class="user_info">
		  <@shiro.authenticated> 
			<span class="user_name">
			<svg id="个人中心" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20.004 20.004" style="line-height: 50px;margin-top: 15px;float: left;">
			 <defs>
			   <style>
			     .cls-1 {
			       fill: #fff;
			     }
			   </style>
			  </defs>
			  <path id="路径_8" data-name="路径 8" class="cls-1" d="M285.411,233.029a4.515,4.515,0,1,1,4.515-4.515A4.515,4.515,0,0,1,285.411,233.029Zm0-1.25a3.264,3.264,0,1,0-3.264-3.264A3.264,3.264,0,0,0,285.411,231.779Z" transform="translate(-275.408 -219.624)"/>
			  <path id="路径_9" data-name="路径 9" class="cls-1" d="M167.046,626.648l-1.125.544a6.6,6.6,0,0,0-11.844-.1l-1.117-.563a7.852,7.852,0,0,1,14.086.116Z" transform="translate(-149.972 -610.053)"/>
			  <path id="路径_10" data-name="路径 10" class="cls-1" d="M10,18.754A8.752,8.752,0,1,0,1.25,10,8.752,8.752,0,0,0,10,18.754ZM10,20A10,10,0,1,1,20,10,10,10,0,0,1,10,20Z"/>
			</svg><span style="float: left;margin-left: 8px;"><@shiro.principal property="loginName" /></span></span>
		    <div class="user_select">
		      <ul>
		       	   <li><a href="${base}/sys/userinfo?trigger=个人信息"><i class="icon1"></i>个人信息</a></li>
		           <li><a href="${base}/sys/userinfo?trigger=服务权限"><i class="icon2"></i>服务权限</a></li>
		           <li><a href="${base}/sys/userinfo?trigger=疾病信息"><i class="icon3"></i>收藏历史</a></li>
		           <li><a href="${base}/sys/userinfo?trigger=搜索统计"><i class="icon4"></i>统计分析</a></li>
		           <li class="quit"><a href="javascript:logout();"><i class="icon5"></i>退出</a></li>
		       </ul>
		    </div>
		  </@shiro.authenticated>
		  <@shiro.notAuthenticated>
            <a href="${base}/login">登录</a><a href="${base}/register" class="current">注册</a>
          </@shiro.notAuthenticated>  
		</div>
	</div>
</div>